package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.TMessageInfo;
import com.ruoyi.business.vo.TMessageInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 消息通知Mapper接口
 *
 * @author Tellsea
 * @date 2024-01-26
 */
public interface TMessageInfoMapper extends BaseMapper<TMessageInfo> {

    Page<TMessageInfoVo> queryList(Page<?> page, @Param("entity") TMessageInfoVo entity);

    List<TMessageInfoVo> queryList(@Param("entity") TMessageInfoVo entity);

    TMessageInfoVo queryById(@Param("id") Long id);

}
